#ifndef _SPHERE_CLASS_H_
#define _SPHERE_CLASS_H_
#include "shape.h"

class SphereClass :
	public Shape
{
	friend class ShapesTree;
public:
	SphereClass(void);
	virtual ~SphereClass(void);
	virtual bool intersect(Point o, Vector u, Point *hit,Point *out=NULL);
private:
	Point center;
	float radius;
};
#endif
